<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="style.css" media="screen and (min-width:560px)">
    <style>
        /* import 是导入样式 是将一个样式文件导入另外一个样式文件。
        link 是将css导入html */
        
        @media screen and (min-width: 540px) and (max-width: 970px) {
            ul>li {
                background-color: skyblue;
            }
        }
        
        html,
        div {
            font-size: 10px;
        }
        /* em是 */
        
        li {
            /* width: 10em;
            height: 10em; */
            width: 10rem;
            height: 10rem;
            background-color: hotpink;
        }
    </style>
</head>

<body>
    <div>
        <ul>
            <li></li>
        </ul>
    </div>
</body>

</html>